<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/init.jsp"%>
<script type="text/javascript">
	$(function() {
		$("#form1").validate({
			rules : {
				'start_time' : {
					required : true
				},
				'end_time' : {
					required : true
				},
				'start_date' : {
					required : true
				},
				'end_date' : {
					required : true
				}
			}
		});
	});
	function mySubmit() {
		var url = "${path}/ix/mac/wktime/edit.htm";
		$("#form1").attr("action", url);
		$("#form1").submit();
	}
</script>
<!-- 内容 -->
<div>
	<input type="hidden" name="wktime_id" value="${wk._id}">
	<h2>
		<div>印控仪特殊工作时间修改</div>
	</h2>
	<table width="100%" class="lindex">
		<tr>
			<th align="right">机构:</th>
			<td align="left" colspan="3"><input
				value="${bank.name }(${bank.code })" readonly="readonly" type="text"
				maxlength="100" /></td>
		</tr>
		<tr>
			<th align="right">日期:</th>
			<td align="left"><input name="start_date"
				value="${wk.start_date}" readonly="readonly" type="text"
				maxlength="20" onClick="WdatePicker()" class="Wdate" /> ——<input
				name="end_date" value="${wk.end_date}" readonly="readonly"
				type="text" maxlength="20" onClick="WdatePicker()" class="Wdate">
			</td>
		</tr>
		<tr>
			<th align="right">时间:</th>
			<td align="left"><input name="start_time"
				value="${wk.start_time}" readonly="readonly" type="text"
				maxlength="20" onClick="WdatePicker({dateFmt:'HH:mm:ss'})"
				class="Wdate" /> ——<input name="end_time" value="${wk.end_time}"
				readonly="readonly" type="text" maxlength="20"
				onClick="WdatePicker({dateFmt:'HH:mm:ss'})" class="Wdate">
			</td>
		</tr>
	</table>
	<div class="options">
		<a href="javascript:mySubmit();" class="asave"> 【保存】 </a> <a
			href="${path }/ix/mac/wktime/list.htm" class="aback"> 【返回】 </a>
	</div>
</div>
